package win.bigwhale.sudoku;

import javafx.application.Application;
import javafx.scene.Scene;
import javafx.stage.Stage;

public class StartGame extends Application {
	private static Stage stage = null;
	public static Stage getPrimaryStage() {
		return stage;
	}

	@Override
	public void start(Stage primaryStage) throws Exception {
		stage = primaryStage;

		setScene(HomeScene.getHomeScene());
		setTitle("Sudoku from win.bigwhale homestage");
		stage.setResizable(false);
		show();
	}

	public void setScene(Scene scene) {
		stage.setScene(scene);
	}

	public void show() {
		stage.show();
	}

	public void setTitle(String title) {
		stage.setTitle(title);
	}

	public static void main(String[] args) {
		Application.launch(args);
	}

}
